.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color:#0f4470;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  margin:0 0 0 -20px;
  padding: 12px 16px;
}
.dropdown:hover .dropdown-content {
  display: block;
}